package com.pxl.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxl.springbootinit.model.dto.task.UserFeedbackForm;
import com.pxl.springbootinit.model.entity.UserFeedback;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxl.springbootinit.model.vo.UserFeedbackVO;

/**
* @author MADAO
* @description 针对表【user_feedback(用户反馈表)】的数据库操作Service
* @createDate 2024-12-20 11:59:03
*/
public interface UserFeedbackService extends IService<UserFeedback> {

    Boolean createUserFeedback(UserFeedbackForm userFeedbackForm);

    Boolean updateUserFeedback(UserFeedbackForm userFeedbackForm);

    Page<UserFeedbackVO> pageUserFeedback(UserFeedbackForm userFeedbackForm);

    UserFeedbackVO getUserFeedbackVO(UserFeedback userFeedback);

    Boolean answerUserFeedback(UserFeedbackForm userFeedbackForm);

    Page<UserFeedbackVO> pageAdminUserFeedback(UserFeedbackForm userFeedbackForm);
}
